var express = require('express');
var router = express.Router();


/* GET users listing. */



// 登录：完整路径 "/kuns/add"
//console.log("aa");

const KunsService=require("../services/kun/kuns_service.js");
router.post("/add", KunsService.add);

//按页查询数据
//"/kuns/find_by_page?page=1"
router.get("/find_by_page", KunsService.findByPage);
//删除数据操作
router.get("/delect",KunsService.delect);
//更新操作
router.post("/update",KunsService.update);

module.exports = router;
